﻿@model MVC_Person.Models.Person

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Person</legend>

    <div class="display-label">Contact_role</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Contact_role)
    </div>

    <div class="display-label">CompanyID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CompanyID)
    </div>

    <div class="display-label">Job_title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Job_title)
    </div>

    <div class="display-label">Job_start</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Job_start)
    </div>

    <div class="display-label">Job_end</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Job_end)
    </div>

    <div class="display-label">Comments</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Comments)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">Cell_phone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Cell_phone)
    </div>

    <div class="display-label">Office_fax</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Office_fax)
    </div>

    <div class="display-label">Office_phone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Office_phone)
    </div>

    <div class="display-label">Prefix</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Prefix)
    </div>

    <div class="display-label">First_name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.First_name)
    </div>

    <div class="display-label">Last_name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Last_name)
    </div>

    <div class="display-label">Suffix</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Suffix)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
